package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ModelLibraryDropDTO extends ProjectIdDTO {

    @Schema(title = "模型库项目id")
    @NotBlank(message = ParamErrorConstants.MODEL_LIBRARY_PROJECT_ID)
    private String modelLibraryProjectId;

    @Schema(title = "模型库模型id")
    @NotBlank(message = ParamErrorConstants.MODEL_LIBRARY_INSTANCE_ID)
    private String modelLibraryInstanceId;

    @Schema(title = "项目id")
    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;


}
